<?php include('./templete/public/head.php') ?>




<!--product-banner-->
<div class="comm-banner" style="background-image: url(<?php echo $navcate['img_url']?>);"></div>


<!--product-main-->
<div class="product-main bgcolor">

    <!--p-title-->
    <div class="product-title bgcolor">
        <ul class="warper">
            <?php foreach ($productcatelist as $v){ ?>
            <li <?php if($thiscateid == $v['id']) {?>class="active"<?php } ?>><a href="<?php echo url('index?cateid='.$v['id']) ?>"><?php echo $v['name'] ?></a></li>
            <?php } ?>
        </ul>
    </div>

    <!--p-content-->
    <div class="product-content bgcolor">
        <div class="warper product-list">
            <ul class="clearfix">
                <?php foreach ($productlist as $v){ ?>
                <li>
                    <div class="clearfix p-txt">
                        <div class="product-left fl">
                            <img src="<?php echo $v['imgpath'] ?>" alt="" width="188px" height="178px"/>
                        </div>
                        <div class="product-right fl">
                            <div class="right-txt">
                                <h3><?php echo $v['name'] ?></h3>
                                <p><?php echo substr($v['content'],0,70)?></p>
                                <p></p>
                                <a href="<?php echo url('detail?id='.$v['id']) ?>" class="p-more">+MORE</a>
                            </div>
                        </div>
                    </div>
                </li>
                <?php } ?>
            </ul>
        </div>
    </div>
</div>

<?php include('./templete/public/foot.php') ?>



</body>
</html>
